home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
64'er Special 32
/
64er_Magazin_Sonderheft_32_19xx_Markt__Technik_de_Side_B.d64
/
how many prints
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2022-10-26
|
572b
|
20 lines
0 rem *** anzahl der anschlaege ***
1 rem *** fuer nl-10 megadriver ***
2 rem *** in programm schreiben ***
3 :
4 rem dieses prg (w) by florian mueller
5 rem megadriver (w) by thomas beigel
6 :
10 print"diskette mit installiertem treiber ein- legen und <return> druecken"
20 geta$:ifa$<>chr$(13) then 20
30 open1,8,15,"i"
40 open2,8,2,"#"
50 print#1,"u1 2 0 17 0"
60 print#1,"b-p 2 41"
70 get#2,a$
80 printchr$(147)"anzahl der druckvorgaenge pro zeile:";asc(a$)
90 input "neue anzahl";a
100 if a<>int(a) or a<1 or a>255 then 90
110 print#1,"b-p 2 41":print#2,chr$(a);:print#1,"u2 2 0 17 0"
120 close2:input#1,a,a$,b,c:printa;a$;b;c:close1